Add support for forcing EFI installation to the removable media path
authorSteve McIntyre <93sam@debian.org>
Wed, 19 Jul 2023 10:23:19 +0000 (12:23 +0200)
committerMiao Wang <shankerwangmiao@gmail.com>
Sun, 15 Feb 2026 13:50:20 +0000 (13:50 +0000)
commitdc44bfcd3991545631a622f5fa7174f475e68e2d
tree2bba3c9d70b19ce865da9c3b2088f9e99be8b7c4
parent2df13db99baac5ad384b17c59c5ed4e9a59106a6
Add support for forcing EFI installation to the removable media path

Add an extra option to grub-install "--force-extra-removable". On EFI
platforms, this will cause an extra copy of the grub-efi image to be
written to the appropriate removable media patch
/boot/efi/EFI/BOOT/BOOT$ARCH.EFI as well. This will help with broken
UEFI implementations where the firmware does not work when configured
with new boot paths.

Signed-off-by: Steve McIntyre <93sam@debian.org>
Bug-Debian: https://bugs.debian.org/767037 https://bugs.debian.org/773092
Forwarded: Not yet
Last-Update: 2021-09-24

Patch-Name: grub-install-extra-removable.patch

Gbp-Pq: Name grub-install-extra-removable.patch
util/grub-install.c